//
//  YXYSearchNextViewController.m
//  Topit
//
//  Created by dllo on 15/12/9.
//  Copyright © 2015年 YXY. All rights reserved.
//

#import "YXYSearchNextViewController.h"

@interface YXYSearchNextViewController ()
@property (nonatomic, retain)UITableView *tableView;
@property (nonatomic, retain)NSMutableArray *dataSource;
@property (nonatomic, copy)NSString *url;
@end

@implementation YXYSearchNextViewController

- (void)dealloc {
    [_tableView release];
    [_dataSource release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.frame = CGRectMake(0, 44, self.view.width, self.view.height);
    self.view.backgroundColor = [UIColor redColor];
    // Do any additional setup after loading the view.
}

- (instancetype)initWithURL:(NSString *)url
{
    self = [super init];
    if (self) {
        self.url = url;
    }
    return self;
}

- (void)didFoundsTableView {
    self.tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
